import DataStore from '../base/DataStore'

export default class Score {
  constructor() {
    this.dataStore = DataStore.getInstance()
    this.ctx = this.dataStore.ctx
    this.scoreNumber = 0
    this.isScore = true
  }

  draw() {
    this.ctx.font = '25px Arial'
    this.ctx.fillStyle = '#ffcbeb'
    this.ctx.fillText(
      this.scoreNumber,
      this.dataStore.screenWidth / 2,
      this.dataStore.screenHeight / 18,
      1000
    )
  }
}